import reactive from "./reactive.js";
const obj = {
  a: 1,
  b: 2,
  get c() {
    return this.a + this.b;
  },
};

const state = reactive(obj);
// const test = reactive(state);
// console.log(test === state);

function fn() {
  // state.a;
  // state.c;
  console.log("g" in state);
}
state.a = 2;
state.f = 4
delete state.f
fn();
